/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.usc.cs523.settings;

import com.jme3.input.KeyInput;
import com.jme3.math.Vector3f;

/**
 *
 * @author haoxu
 */
public class Global {
    //server port number

    public static final int server_port_number = 6147;
    //server ip address
//    public static final String server_host = "localhost";
    public static final String server_host = "207.151.244.188";
    //for message action type;
    public static final char ACTION_CONNECT = 0;
    public static final char ACTION_ACTION = 1;
    public static final char ACTION_DISCONNECT = 2;
    public static final char ACTION_STATUS = 3;
    public static final char ACTION_CHANGE = 4;
    //for turn left
    public static final char MOVE_LEFT = 0;
    //for turn right
    public static final char MOVE_RIGHT = 1;
    //for move forward
    public static final char MOVE_FORWARD = 2;
    //for move back
    public static final char MOVE_BACK = 3;
    //for jump
    public static final char JUMP = 4;
    //for move
    public static final char MOVE_MOVE = 5;
    //move direction
    public static final char MOVE_DIRECTION = 6;
    //for keys
    public static final int LEFT_KEY = KeyInput.KEY_A;
    public static final int RIGHT_KEY = KeyInput.KEY_D;
    public static final int FORWARD_KEY = KeyInput.KEY_W;
    public static final int BACK_KEY = KeyInput.KEY_S;
    public static final int ATTACK_KEY = KeyInput.KEY_J;
    public static final int JUMP_KEY = KeyInput.KEY_SPACE;
    public static final int INVENTORY_KEY = KeyInput.KEY_Z;
    public static final int USE_INVENTORY_KEY = KeyInput.KEY_X;
    public static final Vector3f START_POSITION = new Vector3f(0.0f, 10.0f, 0.0f);
    public static final Vector3f START_DIRECTION = new Vector3f(100.0f, 0.0f, 0.0f);
    //for game statics
    public static final int SHOOT_DAMAGE = 1;
    //for items
    public static final int HEAL_BOTTLE = 1;
    public static final int MAGIC_BOTTLE = 2;
    public static final int POWER_UP = 3;
    public static final int SPEED_UP = 4;
    public static final int INVISIBLE = 5;
}
